<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>使用原生的js模拟jq的get和post请求</h1>
    <button class="btn1">点击我发送get形式的ajax</button>
    <button class="btn2">点击我发送post形式的ajax</button>
    <script>
        class jq {
            
        }
    </script>
</body>
</html>